--------------------------------------------------------------------------------
-- Schema objects
--------------------------------------------------------------------------------
@@Scripts/ReadyApps_Install_0_1_0.sql
@@Scripts/ReadyApps_Install_0_1_1.sql
@@Scripts/ReadyApps_Install_0_2_0.sql

--------------------------------------------------------------------------------
-- Wiki Package
--------------------------------------------------------------------------------
@@Packages/Wiki.pkh
@@Packages/Wiki.pkb
@@Packages/WikiQuery.pkh
@@Packages/WikiQuery.pkb

--------------------------------------------------------------------------------
-- Set up permissions
--------------------------------------------------------------------------------
CREATE OR REPLACE PUBLIC SYNONYM ReadyAppsWikiApi FOR RA$Wiki;
CREATE OR REPLACE PUBLIC SYNONYM ReadyAppsWikiQuery FOR RA$WikiQuery;
CREATE ROLE ReadyAppsWiki_FullAccess;
GRANT EXECUTE ON RA$Wiki TO ReadyAppsWiki_FullAccess;
GRANT EXECUTE ON RA$WikiQuery TO ReadyAppsWiki_FullAccess;